package com.medical.data.vo;


import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class NodeVo {


    @ApiModelProperty(value = "模版描述")
    private String templateDesc;


    @ApiModelProperty(value = "模版名字")
    @Length(message = "模版名字最少2个字,最多10个字",max = 10,min = 2)
    private String templateName;

    @ApiModelProperty(value = "项目id")
    @NotBlank
    private String projectId;

    @NotNull
    @ApiModelProperty(value = "是否是随访节点")
    private Boolean isFollow;

    @ApiModelProperty(value = "随访间隔，创建随访节点时才传")
    private String followUpTime;

}
